package com.fifth.emp.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fifth.common.pojo.entity.EmpInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @作者：徐志豪
 * @创建时间 2022/8/31 11:43
 **/
@Mapper
public interface EmpMapper extends BaseMapper<EmpInfo> {
    //连表查询
    IPage<EmpInfo> selectAll(IPage<EmpInfo> page, @Param("ew") Wrapper<EmpInfo> wrapper);

    int updateState(String id);

}
